package com.qianya.oa.service;

import com.github.pagehelper.PageInfo;
import com.qianya.oa.common.core.domain.entity.SysUser;
import com.qianya.oa.domain.FormDef;
import com.qianya.oa.domain.Leaveapply;
import com.qianya.oa.dto.FormParam;
import com.qianya.oa.dto.FormQueryParam;
import com.qianya.oa.dto.FormSubmitParam;
import com.qianya.oa.dto.FormUpdateParam;
import com.qianya.oa.vo.FormVo;

import java.util.List;
import java.util.Map;

public interface FormDefService {

    PageInfo<FormDef> selectFormList(FormQueryParam formQueryParam);

    int insert(FormDef record);

    String save(FormParam formParam);

    String update(FormUpdateParam formUpdateParam);

    int deleteByPrimaryKey(Integer id);

    int insertOrUpdate(FormDef record);

    int insertOrUpdateSelective(FormDef record);

    int insertSelective(FormDef record);

    FormDef selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(FormDef record);

    int updateByPrimaryKey(FormDef record);

    int updateBatch(List<FormDef> list);

    int batchInsert(List<FormDef> list);
}


